package com.whminwei.edu.api.dc.dto.fspn.tch_act;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author zhangjq
 * @since 2024-10-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DcRealTimetableFspn {

    List<DcTimetable> timetables;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class DcTimetable {
        private Date date;
        /**
         * 周几:1-5
         **/
        private int dayWeek;
        /**
         * 时间段：早1 上2 中3 下4 晚5
         **/
        private int code;
        /**
         * 节次 1、2、3.....
         **/
        private int time;
        /**
         * 老师
         **/
        private String teacherId;
        /**
         * 班级
         **/
        private String classeId;
        /**
         * 课程
         */
        private String courseId;
    }
}
